from rest_framework import serializers
from .models import *

class ChatMessageSer(serializers.ModelSerializer):
    class Meta:
        model = ChatMessageModel
        fields = "__all__"


class ChatRoomSer(serializers.ModelSerializer):
    class Meta:
        model = ChatRoomModel
        fields = "__all__"